 
package com.zdkj.subway.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.st.entity.SwStPlanMonth;
import com.zdkj.subway.st.entity.SwStPlanWeek;

import java.util.List;

public interface SwStPlanMonthService extends IService<SwStPlanMonth> {
    /**
     * 批量保存
     * @param planMonths
     * @return
     */
    boolean saveBatchMonthPlan(List<SwStPlanMonth> planMonths);
    /**
     * 分解月度计划
     * @param id 月计划id
     * @param planWeeks 计划明细
     */
    boolean decompose(Long id, List<SwStPlanWeek> planWeeks);

    /**
     * 修改分解月度计划信息
     * @param id 月计划id
     * @param planWeeks 计划明细
     */
    boolean updateDecompose(Long id, List<SwStPlanWeek> planWeeks);
}
